﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GabageFactory.Models.Stack>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	堆场基本信息
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    
    <table cellpadding="4" cellspacing="0" class="com_detail_table" style="width:756px;">
        <tr>
            <td class="lab" style="width:100px;"><strong>堆场名称：</strong></td>
            <td><strong><%=Model.Name %></strong></td>
        </tr>

        <tr>
            <td class="lab"><strong>所属公司：</strong></td>
            <td><%=Model.Factory.Name %></td>
        </tr>

        <tr>
            <td class="lab"><strong>堆场位置：</strong></td>
            <td><%=Model.Address %></td>
        </tr>

        <tr>
            <td class="lab"><strong>地理坐标：</strong></td>
            <td><%=Model.GeoPosition %></td>
        </tr>

        <tr>
            <td class="lab"><strong>堆场描述：</strong></td>
            <td><p style="padding-right:1em;"><%=Model.Description %></p></td>
        </tr>

    </table>
    
    <ul class="com_detail_imglist">
        <li>
            <%if(!string.IsNullOrEmpty(Model.SummaryPic)) {%>
            <strong>堆场总图：</strong>
            <span class="img"><a href="<%=Url.Content(Model.SummaryPic) %>" title="堆场总图" target="_blank"><img src="<%=Url.Content(Model.SummaryPic) %>" alt="堆场总图" /></a></span>
            <%} %>
        </li>
        <li>
            <%if(!string.IsNullOrEmpty(Model.Pic1)) {%>
            <strong>图片一：</strong>
            <span class="img"><a href="<%=Url.Content(Model.Pic1) %>" title="图片一" target="_blank"><img src="<%=Url.Content(Model.Pic1) %>" alt="图片一" /></a></span>
            <%} %>
        </li>
    </ul>
    <ul class="com_detail_imglist">
        <li>
            <%if(!string.IsNullOrEmpty(Model.Pic2)) {%>
            <strong>图片二：</strong>
            <span class="img"><a href="<%=Url.Content(Model.Pic2) %>" title="图片二" target="_blank"><img src="<%=Url.Content(Model.Pic2) %>" alt="图片二" /></a></span>
            <%} %>
        </li>
        <li>
            <%if(!string.IsNullOrEmpty(Model.Pic3)) {%>
            <strong>图片三：</strong>
            <span class="img"><a href="<%=Url.Content(Model.Pic3) %>" title="图片三" target="_blank"><img src="<%=Url.Content(Model.Pic3) %>" alt="图片三" /></a></span>
            <%} %>
        </li>
    </ul>

    
    

</asp:Content>
